package model

import "go.mongodb.org/mongo-driver/bson/primitive"

type UserVipLog struct {
	ID         primitive.ObjectID `bson:"_id,omitempty"`
	UserID     primitive.ObjectID `bson:"userId"`
	Type       int                `bson:"type"`       // VIP类型
	Amount     float64            `bson:"amount"`     // 充值金额
	CouponUsed float64            `bson:"couponUsed"` // 使用的优惠券金额
	StartTime  primitive.DateTime `bson:"startTime"`
	EndTime    primitive.DateTime `bson:"endTime"`
	CreateTime primitive.DateTime `bson:"createTime"`
}
